import Vue from 'vue'
import Vuex from 'vuex'
import ComUserModule from '@/plugins/uniuser/store/ComUserModule'
import {namespace} from "vuex-class";

Vue.use(Vuex)

const store = new Vuex.Store({})

export const userModule = new ComUserModule({store: store, name: 'user'})
export const userStore = namespace('user')

export default store
